

class User:
    count = 0
    def show(self):
        print("show---------")


    @classmethod
    def show1(cls):
        print("show1---------")

    @staticmethod
    def show2():
        print("show2---------")



    def __init__(self,name=None,age=None,sex=None,email=None):
        #成员变量
        self.__name = name
        self.age = age
        self.sex = sex
        self.email = email
    def getname(self):
        return self.__name
    def setname(self,name):
        self.__name = name
    def show(self):
        print("show------------")
    @classmethod
    def show1(cls):
        print("show------------")
    @staticmethod
    def __show2():
        print("show------------")

class Person:
    name = "parent"
    def show(self):
        print(f"show------{self.name}------")

class Child(Person):
    age = 18
    def study(self):
        print(f"study-------{self.age}------")

    def show(self):
        print(f"child------{self.name}------")